class CreateHistories < ActiveRecord::Migration
  def change
    create_table :histories do |t|
    	t.integer   "story_id"      #story's id
	    t.string    "current_state" #story's current state
	    t.string    "new_state"     #story's new state
	    t.string    "committer"     #committer of this commit
	    t.string    "addition"      #line of code addition
	    t.string    "deletion"      #line of code deletion
	    t.datetime  "commit_time"   #commit time
    end
  end
end
